##
## The 'cran_repo' argument in shelf() was not set, so it will use
## cran_repo = 'https://cran.r-project.org' by default.
##
## To avoid this message, set the 'cran_repo' argument to a CRAN
## mirror URL (see https://cran.r-project.org/mirrors.html) or set
## 'quiet = TRUE'.
## [1] 2446

## [1] 2432
##
## Call:
## lm(formula = present ~ ., data = d)
##
## Residuals:
## Min 1Q Median 3Q Max
## -1.1107 -0.3572 0.1087 0.3528 1.1086
##
## Coefficients:
## Estimate Std. Error t value Pr(>|t|)
## (Intercept) 7.360e-01 5.813e-01 1.266 0.206
## WC_alt -3.637e-04 7.511e-05 -4.842 1.36e-06 ***
## WC_bio1 -1.011e-01 1.266e-02 -7.986 2.13e-15 ***
## WC_bio2 1.115e-02 6.241e-03 1.787 0.074 .
## ER_tri -3.407e-03 7.830e-04 -4.351 1.41e-05 ***
## ER_topoWet 2.246e-02 1.320e-02 1.701 0.089 .
## lon 6.150e-02 6.330e-03 9.715 < 2e-16 ***
## lat 2.691e-02 4.151e-03 6.484 1.08e-10 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Residual standard error: 0.4336 on 2424 degrees of freedom
## Multiple R-squared: 0.2503, Adjusted R-squared: 0.2481
## F-statistic: 115.6 on 7 and 2424 DF, p-value: < 2.2e-16
## [1] -0.4659931 1.1107122
## [1] 0 1
##
## Call:
## glm(formula = present ~ ., family = binomial(link = "logit"),
## data = d)
##
## Deviance Residuals:
## Min 1Q Median 3Q Max
## -2.5996 -0.8398 -0.1561 0.9014 2.6900
##
## Coefficients:
## Estimate Std. Error z value Pr(>|z|)
## (Intercept) 4.4318340 3.4020112 1.303 0.193
## WC_alt -0.0024665 0.0004621 -5.337 9.43e-08 ***
## WC_bio1 -0.6511722 0.0820807 -7.933 2.13e-15 ***
## WC_bio2 0.0521497 0.0341972 1.525 0.127
## ER_tri -0.0171178 0.0042905 -3.990 6.62e-05 ***
## ER_topoWet 0.1641443 0.0716416 2.291 0.022 *
## lon 0.3074867 0.0359838 8.545 < 2e-16 ***
## lat 0.1370821 0.0228909 5.988 2.12e-09 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## (Dispersion parameter for binomial family taken to be 1)
##
## Null deviance: 3371.4 on 2431 degrees of freedom
## Residual deviance: 2675.3 on 2424 degrees of freedom
## AIC: 2691.3
##
## Number of Fisher Scoring iterations: 4
## [1] 0.002972786 0.965914381







##
## The 'cran_repo' argument in shelf() was not set, so it will use
## cran_repo = 'https://cran.r-project.org' by default.
##
## To avoid this message, set the 'cran_repo' argument to a CRAN
## mirror URL (see https://cran.r-project.org/mirrors.html) or set
## 'quiet = TRUE'.
##
## Family: binomial
## Link function: logit
##
## Formula:
## present ~ s(WC_alt) + s(WC_bio1) + s(WC_bio2) + s(ER_tri) + s(ER_topoWet) +
## s(lon) + s(lat)
##
## Parametric coefficients:
## Estimate Std. Error z value Pr(>|z|)
## (Intercept) -1.8530 0.1963 -9.441 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## Approximate significance of smooth terms:
## edf Ref.df Chi.sq p-value
## s(WC_alt) 8.993 8.998 70.601 <2e-16 ***
## s(WC_bio1) 6.861 7.770 44.363 <2e-16 ***
## s(WC_bio2) 8.805 8.982 50.498 <2e-16 ***
## s(ER_tri) 5.508 6.712 13.243 0.0573 .
## s(ER_topoWet) 6.483 7.583 9.871 0.1698
## s(lon) 8.759 8.978 123.994 <2e-16 ***
## s(lat) 8.765 8.983 240.231 <2e-16 ***
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
##
## R-sq.(adj) = 0.658 Deviance explained = 60.2%
## UBRE = -0.40238 Scale est. = 1 n = 2432







##
## The 'cran_repo' argument in shelf() was not set, so it will use
## cran_repo = 'https://cran.r-project.org' by default.
##
## To avoid this message, set the 'cran_repo' argument to a CRAN
## mirror URL (see https://cran.r-project.org/mirrors.html) or set
## 'quiet = TRUE'.
## Loading required namespace: rJava
## This is MaxEnt version 3.4.3



